package cn.lanqiao.system.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserRoleMapper {

    @Insert("insert into system_user_role (user_id , role_id) values (#{userId},#{roleId})")
    void insert(@Param("userId") int userId, @Param("roleId") int roleId);

}
